package org.linlinjava.litemall.db.dao;

import org.linlinjava.litemall.db.domain.LitemallSecurityConfig;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface LitemallSecurityConfigMapper {
    long countByExample(LitemallSecurityConfigExample example);

    int deleteByExample(LitemallSecurityConfigExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(LitemallSecurityConfig record);

    int insertSelective(LitemallSecurityConfig record);

    LitemallSecurityConfig selectOneByExample(LitemallSecurityConfigExample example);

    LitemallSecurityConfig selectOneByExampleSelective(@Param("example") LitemallSecurityConfigExample example, @Param("selective") LitemallSecurityConfig.Column ... selective);

    List<LitemallSecurityConfig> selectByExampleSelective(@Param("example") LitemallSecurityConfigExample example, @Param("selective") LitemallSecurityConfig.Column ... selective);

    List<LitemallSecurityConfig> selectByExample(LitemallSecurityConfigExample example);

    LitemallSecurityConfig selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LitemallSecurityConfig.Column ... selective);

    LitemallSecurityConfig selectByPrimaryKey(Integer id);

    LitemallSecurityConfig selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);

    int updateByExampleSelective(@Param("record") LitemallSecurityConfig record, @Param("example") LitemallSecurityConfigExample example);

    int updateByExample(@Param("record") LitemallSecurityConfig record, @Param("example") LitemallSecurityConfigExample example);

    int updateByPrimaryKeySelective(LitemallSecurityConfig record);

    int updateByPrimaryKey(LitemallSecurityConfig record);

    int logicalDeleteByExample(@Param("example") LitemallSecurityConfigExample example);

    int logicalDeleteByPrimaryKey(Integer id);
}